# 第一种方法
m = input()
n = "Hello World"
for i in list(range(len("Hello World"))):
    if float(m) == 0:
        print(n[i], end='')
    elif float(m) > 0:
        print(n[i], end='')
        if (i+1)% 2 == 0 and i != 0:
            print("")
    else:
        print(n[i])

# 第二种方法
n = eval(input())
if n == 0:
    print("Hello World")
elif n > 0:
    print("He\nll\no \nWo\nrl\nd")
else:
    for c in "Hello World":
        print(c)




